package com.huilian.iotbox.client.service.impl;

import com.huilian.iotbox.client.dao.CommodityProjectDeviceDao;
import com.huilian.iotbox.client.service.CommodityProjectDeviceService;
import com.huilian.iotbox.data.vo.CommodityProjectDeviceVo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author: loong
 * @create: 2023-11-17 10:23
 **/
@Service
public class CommodityProjectDeviceServiceImpl implements CommodityProjectDeviceService {
    @Resource
    private CommodityProjectDeviceDao commodityProjectDeviceDao;

    @Override
    public CommodityProjectDeviceVo findByDeviceId(Integer deviceId) {
        return commodityProjectDeviceDao.findByDeviceId(deviceId);
    }
}
